package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Title  string `gorm:"type:varchar(50);not null;comment:课程名称"`
	Number int    `gorm:"type:int(11);not null;comment:课程播放数量"`
	Types  int    `gorm:"type:int(11);not null;comment:1,已审核 2.未审核"`
}

type UsersType struct {
	gorm.Model
	Username string `gorm:"type:varchar(20);not null;comment:用户名"`
	Password string `gorm:"type:varchar(20);not null;comment:密码"`
}
